<!doctype html>
<html>
<head>
    <meta charset="UTF-8">
    <title>后台管理</title>
    <link rel="stylesheet" type="text/css" href="__PUBLIC__/Admin/css/common.css"/>
    <link rel="stylesheet" type="text/css" href="__PUBLIC__/Admin/css/main.css"/>
    <script type="text/javascript" src="__PUBLIC__/Admin/js/libs/modernizr.min.js"></script>
    <script language="javascript" type="text/javascript" src="__PUBLIC__/Admin/My97DatePicker/WdatePicker.js"></script>
    <script src="__PUBLIC__/Admin/js/libs/jquery.js"></script>
    <script src="__PUBLIC__/Admin/js/libs/list.js"></script>
</head>
<body>
{:W("Public/topShow")}
<div class="container clearfix">
    {:W("Public/sideShow")}
    <!--/sidebar-->
    <div class="main-wrap">

        <div class="crumb-wrap">
            <div class="crumb-list"><i class="icon-font"></i><a href="{:U('index/index')}">首页</a><span class="crumb-step">&gt;</span><a class="crumb-name" href="{:U('FriendLink/friendlink')}">友情链接管理</a><span class="crumb-step">&gt;</span><span>新增链接</span></div>
        </div>
        <div class="result-wrap">
            <div class="result-content">
                <form action="{:U('FriendLink/doModFriendLink')}" method="post" id="myform" name="myform" enctype="multipart/form-data">
                    <table class="insert-tab" width="100%">
                        <tbody>
                            <tr>
                                <th><i class="require-red">*</i>链接名称：</th>
                                <td>
                                    <input class="common-text required" required id="title" name="linkname" value="{$friendlink.linkname}" size="50"  type="text">
                                </td>
                            </tr>
                            <tr>
                                <th><i class="require-red">*</i>链接地址：</th>
                                <td>
                                    <input class="common-text required" required value="{$friendlink.linkaddress}" name="linkaddress" size="50"  type="text">
                                </td>
                            </tr>
                            <tr>
                                <th><i class="require-red">*</i>链接图片：</th>
                                <td>
                                    <input class="common-text required" name="image" size="50"  type="file">
                                    <img src="{$friendlink.image}" width="100px" alt="无图">
                                </td>
                            </tr>
                            <tr>
                                <th></th>
                                <td>
                                    <input type="hidden" name="id" value="{$friendlink.id}">
                                    <input type="hidden" name="oldImage" value="{$friendlink.image}">
                                    <input class="btn btn-primary btn6 mr10" value="提交" type="submit">
                                    <input class="btn btn6" onclick="history.go(-1)" value="返回" type="button">
                                </td>
                            </tr>
                        </tbody></table>
                </form>
            </div>
        </div>

    </div>
    <!--/main-->
</div>
</body>
</html>